package com.matrix.index.ui.anime.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.matrix.index.R
import com.matrix.index.ui.anime.bean.Child


class AnimCategoryAdapter(layoutResId: Int, data: MutableList<Child>) :
    BaseQuickAdapter<Child, BaseViewHolder>(layoutResId, data) {

    override fun convert(holder: BaseViewHolder, item: Child) {
        holder.setText(R.id.tv_name,item.label)
    }
}